.class Lcom/xingbook/ting/activity/a;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/ui/x;


# instance fields
.field final synthetic a:Lcom/xingbook/ting/activity/TingPlayAct;


# direct methods
.method constructor <init>(Lcom/xingbook/ting/activity/TingPlayAct;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ting/activity/a;->a:Lcom/xingbook/ting/activity/TingPlayAct;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 3

    const/4 v2, 0x0

    if-nez p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ting/activity/a;->a:Lcom/xingbook/ting/activity/TingPlayAct;

    invoke-static {v0}, Lcom/xingbook/ting/activity/TingPlayAct;->a(Lcom/xingbook/ting/activity/TingPlayAct;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ting/activity/a;->a:Lcom/xingbook/ting/activity/TingPlayAct;

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->h()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ting/activity/a;->a:Lcom/xingbook/ting/activity/TingPlayAct;

    iget-object v1, p0, Lcom/xingbook/ting/activity/a;->a:Lcom/xingbook/ting/activity/TingPlayAct;

    invoke-static {v1}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->c()Lcom/xingbook/audio/b/a;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Landroid/content/Context;Lcom/xingbook/audio/b/a;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ting/activity/a;->a:Lcom/xingbook/ting/activity/TingPlayAct;

    iget-object v0, v0, Lcom/xingbook/ting/activity/TingPlayAct;->d:Lcom/xingbook/ting/activity/b;

    const-string v1, "\u5217\u8868\u4e3a\u7a7a"

    invoke-static {v0, v2, v2, v2, v1}, Landroid/os/Message;->obtain(Landroid/os/Handler;IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_0
.end method
